<!--
 * @Description: 
 * @Version: 2.0
 * @Autor: 张磊
 * @Date: 2020-11-10 20:21:49
 * @LastEditors: 张磊
 * @LastEditTime: 2020-11-13 00:02:25
 * @FilePath: \lht1802A\项目代码\rank_tree\src\components\Footer.vue
-->
<template>
  <div id="nav">
    <router-link to="/index/home"><i class="iconfont icon-shouye"></i><span>首页</span> </router-link>
    <router-link to="/index/classify"><i class="iconfont icon-fenlei"></i><span>分类</span> </router-link>
    <router-link to="/index/message"><i class="iconfont icon-xiaoxi"></i><span>消息</span></router-link>
    <router-link to="/index/my"><i class="iconfont icon-wode"></i><span>我的</span></router-link>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss">
    #nav{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 3rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        i{
            font-size: 1.5rem;
            display: block;
        }
        a{
            color: #000
        }
        .router-link-exact-active{
            span{
                color: purple;
            }
        }
    }
</style>